package com.tmt.im.service.controller.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/8/29 15:33
 * @Version 1.0
 **/
@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Tag(name = "分页查询群组成员请求应答对象", description = "分页查询群组成员请求应答对象")
public class QueryMembersResponse1 implements Serializable {

    @Serial
    private static final long serialVersionUID = 2983408759741973574L;

    @Schema(description = "页序号")
    @JsonProperty("pageNo")
    private int pageIndex;

    @Schema(description = "页尺寸")
    private int pageSize;

    @Schema(description = "群成员总数")
    private long total;

    @Schema(description = "群成员信息列表")
    private List<MemberInfo> members;
}
